package com.hualan.sfzy.mapper.course;

import com.hualan.sfzy.entity.course.CourseStore;
import com.hualan.sfzy.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CourseStoreMapper extends BaseMapper<CourseStore> {
    int countByCourseId(Integer courseId);


    Integer checkCollection(Integer userId, Integer courseId);
    int deleteByUserAndCourse(Integer userId, Integer courseId);
}
